import axios from 'axios'
import LoginForm from '../../type/LoginFrom'
export default{
    loginApi:(data:LoginForm)=>axios.post("/users/login",data),
    getAccountListApi:()=>axios.get('/users/getAccountList'),
    delAccountApi:(id:number)=>axios.get('/users/delAccount',{params:{id}})
}